home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 007a / frames11.zip / AHED.TXT < prev    next >
Text File  |  1989-09-17  |  8KB  |  207 lines

  1.                       AHED the Ad Hoc Editor
  2.                             Version 0.6
  3.                           12 October 1986
  4.                 Copyright 1986 Michael A. Covington
  5.  
  6.                Advanced Computational Methods Center
  7.                  Computer Services Annex Building
  8.                        University of Georgia
  9.                        Athens, Georgia 30602
  10.  
  11.  
  12. INTRODUCTION
  13.  
  14. AHED is a full-screen editor written for in-house use at the
  15. Advanced Computational Methods Center. It requires an IBM PC or
  16. close compatible with DOS 2.0 or higher and at least 256K of
  17. RAM. Its features include the following:
  18.  
  19.      Extremely easy to use -- instant on-screen help menus
  20.  
  21.      Familiar key definitions -- same as WordStar, Turbo Pascal,
  22.           and IBM Personal Editor
  23.  
  24.      Ability to edit large files (>200K on a 640K machine)
  25.  
  26.      Allows extremely long lines (32,767 characters regardless of
  27.           margin settings)
  28.  
  29.      Split screen editing of multiple files
  30.  
  31.      "Undelete" feature (Esc key retrieves deleted lines)
  32.  
  33.      Automatic highlighting of matching parentheses
  34.  
  35.      Autoindent mode for programming
  36.  
  37.      Word wrap for creating text files
  38.  
  39.      Distributed free of charge as a single 64K file
  40.  
  41.  
  42. Version 0.6 is noticeably faster than earlier versions.
  43.  
  44. AHED is a file editor, not a complete word processor. It has no
  45. facilities for sending files to the printer or producing special
  46. printed effects, such as underlining and boldface. However, AHED
  47. can be combined with a formatting program such as Academic
  48. Formatter (also available from ACMC), PR (in PC-WRITE), or
  49. SCRIPT/PC to produce a complete word processing system.
  50.  
  51. AHED was written by Michael Covington using the Turbo Pascal
  52. Editor Toolbox. The object code (AHED.COM) and documentation
  53. (AHED.TXT) are copyrighted, but anyone is welcome to distribute
  54. them to others as long as no charge is made beyond the cost of
  55. duplication. The source code can only be distributed to licensed
  56. users of the Turbo Pascal Editor Toolbox.
  57.  
  58.  
  59. GETTING STARTED
  60.  
  61. To start AHED, type:
  62.  
  63.      AHED filename
  64.  
  65. using the name of the file you want to create or edit.
  66.  
  67. For immediate on-screen help while using AHED, press F1. This
  68. gets you into a menu system that tells you what keystroke
  69. sequence performs each function. Exit from the menus by pressing
  70. the keystroke sequence that you want to execute. If you want to
  71. exit from a menu without doing anything, press Alt-A.
  72.  
  73. The menus use a shorthand notation for keystrokes, thus:
  74.  
  75.     @X    means to hold down Alt while typing X;
  76.  
  77.     ^X    means to hold down Ctrl while typing X; and
  78.  
  79.     ^K^D  means to type Ctrl-K and then Ctrl-D.
  80.  
  81.  
  82. AHED VERSUS IBM'S PE
  83.  
  84. The main advantages of AHED over the IBM Personal Editor (version
  85. 1) are:
  86.  
  87. -- AHED can refer to files by pathname.
  88.  
  89. -- AHED is completely self-contained and does not require
  90. configuration or help files. In place of PE.EXE, PE.PRO, and
  91. PE.HLP, you have only AHED.COM.
  92.  
  93. -- There are many new features such as line centering (^O^C) and
  94. multiple-window editing.
  95.  
  96. -- Margins are automatically different for program files than
  97. for text (see below).
  98.  
  99. -- Paragraphs do not have to be separated by blank lines.
  100. Indented lines are recognized as marking the beginning of a
  101. paragraph.
  102.  
  103. Some of the PE key definitions (such as Alt-U, "unmark") are not
  104. supported in AHED. Pressing an undefined key does no harm.
  105.  
  106. Also, an annoying habit of PE has been removed. When PE rewraps a
  107. paragraph, it always places two spaces after every period, even
  108. if the period does not mark the end of a sentence. AHED leaves
  109. only one space between words regardless of punctuation. This is
  110. slightly at odds with traditional typing practice, but it
  111. produces results that look good with most computer printers,
  112. especially when proportional spacing is used.
  113.  
  114. In AHED, marked blocks consist of sequences of lines. That is,
  115. marking always begins at the beginning of a line and continues to
  116. the end of the next line. Alt-L, Alt-C, and Alt-B all have the
  117. same effect, which is to mark the beginning of the block the
  118. first time they are pressed and the end of the block the second
  119. time. This can cause some confusion if you inadvertently press
  120. one of these keys one time too many.
  121.  
  122.  
  123. MODES, MARGINS, AND WORD WRAP
  124.  
  125. In the upper right corner of the screen AHED may display one or
  126. more of the following indicators:
  127.  
  128.      AI   -- Autoindent mode is on. When you press Return, the
  129.              cursor will be positioned under the first nonblank
  130.              character of the preceding line. This is convenient
  131.              for editing programs that have varying levels of
  132.              indentation. Turn Autoindent on or off with ^Q^I.
  133.  
  134.      INS  -- Insert mode is on. This means that, when you type
  135.              in the middle of a line, subsequent characters are
  136.              pushed to the right to make room for what you are
  137.              typing. Turn insert mode on or off with Ins key.
  138.  
  139.      WW   -- Word wrap is on. If you try to type past the right
  140.              margin, the line will be split between words and a
  141.              new line will be started automatically. Turn word
  142.              wrap on or off with ^O^W.
  143.  
  144. Files whose names end in .TXT are considered to be text; AHED
  145. starts out with left and right margins of 1 and 65 respectively,
  146. word wrap on, and autoindent off. Other files are considered to
  147. be programs, and AHED starts with margins of 1 and 255, word
  148. wrap off, and autoindent mode on. All of these parameters can be
  149. changed for the duration of an editing session, but they will
  150. start out with their default values again at the beginning of
  151. the next session.
  152.  
  153. The right margin is used only for word wrap and otherwise has no
  154. effect; you can create enormously long lines regardless of the
  155. margin setting. ^O^R changes the right margin setting.
  156.  
  157. The left margin determines where each line begins. It is almost
  158. always 1, but you can reset it with ^O^L. If you are creating a
  159. file to be printed with Academic Formatter or another formatting
  160. program, DO NOT use AHED's left margin feature to establish the
  161. margins in your printed text; use Academic Formatter commands
  162. instead. Formatting programs almost always expect your text to
  163. begin in line 1. Likewise, if you change the right margin (and
  164. hence the line length), make sure your formatting program knows
  165. about it.
  166.  
  167. To rewrap a paragraph, place the cursor on the first line of the
  168. paragraph and press ^B or @P. AHED will find the end of the
  169. paragraph by looking for a line whose first character is a
  170. letter, a digit, or a punctuation mark that can occur at the
  171. beginning of a line in normal text, and whose left margin (if
  172. any) is all blank. Thus, a blank line, dot command, or indented
  173. line will terminate the paragraph.
  174.  
  175.  
  176. WINDOWS
  177.  
  178. You can split the screen into more than one window in order to
  179. edit multiple files, or even look at multiple positions in the
  180. same file at the same time. Do this by pressing ^O^O.
  181.  
  182. Once you have created a window, you can load a file into it with
  183. ^K^R, or link it to another window with ^O^J. When two windows
  184. are linked, they display the same file, and any changes typed
  185. into one of them will immediately appear in the other if the
  186. same part of the file is being displayed.
  187.  
  188. There is only one marked block at any time; you can copy or move
  189. it from one window to another and hence from one file to another.
  190.  
  191.  
  192. A NOTE FOR FAST TYPISTS
  193.  
  194. If you try to scroll the screen very rapidly you will notice
  195. that AHED will "drop whatever it is doing" -- even if it is in
  196. the middle of rewriting the screen -- in order to intercept
  197. keystrokes. Scrolling proceeds somewhat haphazardly if you are
  198. pressing keys too fast for AHED to keep up. Don't worry -- AHED
  199. will not miss any keystrokes, and as soon as you pause, the
  200. entire screen will straighten itself out.
  201.  
  202. On the PC AT and similar processors, AHED should be fast enough
  203. for anyone. Version 0.6 of AHED is markedly faster than earlier
  204. versions.
  205.  
  206. 
  207.